package com.lemon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lemon.domain.WarehouseAreaLoca;
import com.lemon.domain.vo.WarehouseAreaLocaVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WarehouseAreaLocaMapper extends BaseMapper<WarehouseAreaLoca> {

    @Select("select id,loca_code as name from warehouse_area_loca where warehouse_area_id = #{warehouseAreaId}")
    List<WarehouseAreaLocaVo> getWarehouseAreaList(Integer warehouseAreaId);
}
